package com.wuji.blog.service;

import com.wuji.blog.utils.Result;
import com.wuji.blog.pojo.param.ArticleParam;
import com.wuji.blog.pojo.param.PageParam;

/**
 * @作者 wangj
 * @日期 2022/1/19 16:14
 * @描述 service
 **/
public interface ArticleService {

    Result listArticle(PageParam pageParam);
    Result hotArticle(int limit);
    Result newArticles(int limit);
    Result listArchives();
    Result findArticleById(Long articleId);
    Result publish(ArticleParam articleParam);
}
